package edu.sctu.zcy.month201505.subwaysystem.V3;

/**
 * Created by user24 on 2015/6/4.
 */
public class MonitorPerson {

    public void warnigPassenger(int i){


        if(new MonitorMachine().checkPackage(new MetroStation().passengerList.get(i))){

            System.out.println("乘客你好，你的包裹可能有问题，请留下待我们检查完再入站");
        }
        if(new MonitorMachine().checkWater(new MetroStation().passengerList.get(i)) ){

            System.out.println("乘客你好，你的水可能有问题，请留下待我们检查完再入站");
        }

    }
}
